package com.hushan.elevator.service;
import java.time.LocalDateTime;
import com.hushan.elevator.model.DeviceMntPerson;

import java.util.List;

public interface DeviceMntPersonService {
    List<DeviceMntPerson> findAll();
    DeviceMntPerson findById(Integer id);
    List<DeviceMntPerson> findByCreatedTimeBetween(LocalDateTime start, LocalDateTime end);
    List<DeviceMntPerson> findByUpdatedTimeBetween(LocalDateTime start, LocalDateTime end);
    void save(DeviceMntPerson deviceMntUser);
    void delete(Integer id);

    long findCountByDept(int id);

    void addDeviceMntPerson(DeviceMntPerson deviceMntPerson);
}
